<?php

require_once 'config.php';
require_once 'function.php';
require_once 'class/Mysql.class.php';

$db = new Mysql();
$data = $db->getAll( 'product', 1, 'product_name', 'LENGTH( product_name ) DESC' );

foreach( $data as $v ){
	echo "'".$v['product_name']."',\r\n";
}